package com.guoxue.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.guoxue.dao.IExpertReadingDao;
import com.guoxue.domain.ExpertReadingVo;
import com.guoxue.service.IExpertReadingService;

@Service("expertReadingService")
public class ExpertReadingServiceImpl implements IExpertReadingService{
	@Resource
	private IExpertReadingDao expertReadingDao;

	@Override
	public void saveExpertReading(ExpertReadingVo er) {
		expertReadingDao.saveExpertReading(er);
	}

	@Override
	public List<ExpertReadingVo> getExpertReadingList() {
		return expertReadingDao.getExpertReadingList();
	}

	@Override
	public void deleteExpertConfig(int id) {
		expertReadingDao.deleteExpertConfig(id);
	}

	@Override
	public List<ExpertReadingVo> getExpertReadingList(String searchName) {
		return expertReadingDao.getExpertReadingList(searchName);
	}

	@Override
	public ExpertReadingVo getExpertReading(String tapeId) {
		return expertReadingDao.getExpertReading(tapeId);
	}

}
